package base.Day04;

import java.util.Random;

public class ForDemo
{
    public static void main(String[] args)
    {
         for (int i = 0 ; i < 9 ; i++)
         {
             System.out.println();
         }
    }


    public void searchNum()
    {
        // 二分查找猜数
        int targetNum = new Random().nextInt(100)+1;
        int guessNum = new Random().nextInt(100)+1;
        int min = 1;
        int max = 100;
        int mid = (min+max)/2;
        while (targetNum != guessNum)
        {

        }
        System.out.println("congratulations");
    }


}
